package com.yunxi.model.sys;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2019-09-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_infomation")
@ApiModel(value="Infomation对象", description="")
public class Infomation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "信息主键")
    @TableId(value = "INFO_ID", type = IdType.UUID)
    private String infoId;

    @ApiModelProperty(value = "标题")
    @TableField("TITLE")
    private String title;

    @ApiModelProperty(value = "消息内容")
    @TableField("INFO_CONTENT")
    private String infoContent;

    @ApiModelProperty(value = "发布人员")
    @TableField("SEND_PEOPLE")
    private String sendPeople;

    @ApiModelProperty(value = "发布状态  0:未发布  1：发布")
    @TableField("SEND_STATUS")
    private Integer sendStatus;

    @ApiModelProperty(value = "发布时间")
    @TableField("SEND_TIME")
    private Date sendTime;

    @ApiModelProperty(value = "发布开始日期")
    @TableField("SEND_START_DATE")
    private Date sendStartDate;

    @ApiModelProperty(value = "发布结束日期")
    @TableField("SEND_END_DATE")
    private Date sendEndDate;

    @ApiModelProperty(value = "发起部门")
    @TableField("SEND_ORG")
    private String sendOrg;

    @ApiModelProperty(value = "渠道商编号(多个)")
    @TableField("PARTNER_CODES")
    private String partnerCodes;

    @ApiModelProperty(value = "渠道商名称(多个)")
    @TableField("PARTNER_NAMES")
    private String partnerNames;

    @ApiModelProperty(value = "角色代码(多个)")
    @TableField("ROLE_CODES")
    private String roleCodes;

    @ApiModelProperty(value = "角色名称(多个)")
    @TableField("ROLE_NAMES")
    private String roleNames;

    @ApiModelProperty(value = "消息级别")
    @TableField("INFO_LEVEL")
    private Integer infoLevel;

    @ApiModelProperty(value = "创建时间")
    @TableField(value="CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY", fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME", fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY", fill = FieldFill.UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "版本号")
    @TableField("VERSION")
    private Integer version;

    @ApiModelProperty(value = "信息编号")
    private String infoCode;


}
